Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.admin.center.theme

Contributions

XML Source

<?xml version="1.0"?>

<component name="org.nuxeo.ecm.admin.center.theme">

  <require>org.nuxeo.theme.core</require>
  <require>org.nuxeo.theme.fragments</require>
  <require>org.nuxeo.theme.html</require>
  <require>org.nuxeo.theme.jsf</require>

  <!--  themes -->
  <extension target="org.nuxeo.theme.services.ThemeService" point="themes">

    <theme>
      <src>themes/admin-center.xml</src>
    </theme>

  </extension>

  <!-- application settings -->
  <extension target="org.nuxeo.theme.services.ThemeService" point="applications">

    <application root="${org.nuxeo.ecm.contextPath}" template-engine="jsf-facelets">

      <view id="/view_admin.xhtml">
        <theme>admin/default</theme>
      </view>

      <view id="/connect_confirm_download.xhtml">
        <theme>admin/default</theme>
      </view>

    </application>

  </extension>

  <!-- mapping between theme pages and resources -->
  <extension target="org.nuxeo.theme.styling.service" point="pages">

    <themePage name="admin/default">
      <defaultFlavor>default</defaultFlavor>
      <flavors>
        <flavor>default</flavor>
        <flavor>rainbow</flavor>
      </flavors>
      <styles>
        <style>basics</style>
        <style>buttons_and_actions</style>
        <style>header</style>
        <style>body</style>
        <style>footer</style>
        <style>grids_and_widgets</style>
        <style>navigation</style>
        <style>tables</style>
        <style>forms</style>
        <style>popups</style>
        <style>messages_and_tooltips</style>
        <style>foldable_boxes</style>
        <style>richfaces_components</style>
        <style>tabs_content</style>
        <style>helpers</style>
        <style>nuxeo_admincenter_specific</style>
      </styles>
    </themePage>

  </extension>

  <extension target="org.nuxeo.theme.styling.service" point="styles">

    <style name="nuxeo_admincenter_specific">
      <src>themes/css/nuxeo_admincenter_specific.css</src>
    </style>

  </extension>

</component>